package com.jingxi.service;

import com.jingxi.common.pojo.EasyUIDataGridResult;
import com.jingxi.common.pojo.JingXiResult;
import com.jingxi.model.TbItem;

public interface ItemService {
	public TbItem getTnItemById(long id);
	
	public EasyUIDataGridResult getItemList(int page, int rows);
	
	public JingXiResult createItem(TbItem item,String desc,String itemParams);
	
	public JingXiResult getDescFromId(long id);
	
	public JingXiResult updateItem(TbItem tbItem,String desc);
	
	public JingXiResult deleteItem(long[] ids);
}
